This section provides some examples of creating custom reports.
SQL: Participant Custom Fields
XPath and XSL
Custom ReportsReporting